package com.acoffee.java1;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.util.HashMap;

/**
 * @author acoffee
 * @create 2021-11-10 17:19
 */
public class TestForApp {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
        Chinese chinese = context.getBean("chinese", Chinese.class);

        HashMap<Object, Object> map = new HashMap<>();

        map.put(1,2);
        chinese.eat();
    }
}
